package com.emmmya.harinCheck.pojo.entity;
import com.alibaba.fastjson2.annotation.JSONField;
import com.emmmya.harinCheck.annotation.Check;
import com.emmmya.harinCheck.annotation.DeepCheck;

import java.util.List;

public class GoogleUploadEntity {

    @JSONField(name="componentTestResult")
    @DeepCheck
    @Check(name="componentTestResult" ,required = true)
    private ComponentTestResult componentTestResult;

    @JSONField(name="measurements")
    @DeepCheck
    @Check(name="measurements" ,required = true)
    private List<Measurements> measurements;

    @JSONField(name="metadata")
    @DeepCheck
    @Check(name="metadata" ,required = true)
    private Metadata metadata;


    public ComponentTestResult getComponentTestResult() {
        return componentTestResult;
    }

    public void setComponentTestResult(ComponentTestResult componentTestResult) {
        this.componentTestResult = componentTestResult;
    }

    public List<Measurements> getMeasurements() {
        return measurements;
    }

    public void setMeasurements(List<Measurements> measurements) {
        this.measurements = measurements;
    }

    public Metadata getMetadata() {
        return metadata;
    }

    public void setMetadata(Metadata metadata) {
        this.metadata = metadata;
    }
}